<script>
    export default{
        props:["modelValue"],
        methods:{
            inputHandler(e){
                this.$emit("update:modelValue",e.target.value)
            }
        }
    }
</script>

<template>
    <input :value="modelValue" @input="inputHandler"/>
</template>

<style scoped>
</style>